package com.harmontronics.hanma.paas.paas.dto.iam.input;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;
import lombok.Data;

/**
 * 权限表
 * 
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-04-07 10:35:44
 */
@Data
public class HmPermCreateInput {

	/**
	 * $column.comments
	 */
@ApiModelProperty(value = "$column.comments")
private Long id;
	/**
	 * $column.comments
	 */
@ApiModelProperty(value = "$column.comments")
private Long appId;
	/**
	 * 名称
	 */
@ApiModelProperty(value = "名称")
private String title;
	/**
	 * 唯一识别码,用于和component_router表中的name进行关联
	 */
@ApiModelProperty(value = "唯一识别码,用于和component_router表中的name进行关联")
private String uniqueCode;
	/**
	 *  1：在用  2：禁用
	 */
@ApiModelProperty(value = " 1：在用  2：禁用")
private Integer status;
	/**
	 * 描述
	 */
@ApiModelProperty(value = "描述")
private String description;
	/**
	 * 排列序号
	 */
@ApiModelProperty(value = "排列序号")
private Integer serialNum;
	/**
	 * 父节点id
	 */
@ApiModelProperty(value = "父节点id")
private Long parentId;
	/**
	 * 父节点集合
	 */
@ApiModelProperty(value = "父节点集合")
private String parentIds;
	/**
	 * 路由-名称
	 */
@ApiModelProperty(value = "路由-名称")
private String name;
	/**
	 * 路由-组件
	 */
@ApiModelProperty(value = "路由-组件")
private String component;
	/**
	 * 路由-重定向
	 */
@ApiModelProperty(value = "路由-重定向")
private String redirect;
	/**
	 * 路由-跳转路径
	 */
@ApiModelProperty(value = "路由-跳转路径")
private String path;
	/**
	 * 路由-json对象，存储 title permission(name) icon keepAlive:false hideHeader: false
	 */
@ApiModelProperty(value = "路由-json对象，存储 title permission(name) icon keepAlive:false hideHeader: false")
private String meta;
	/**
	 * $column.comments
	 */
@ApiModelProperty(value = "$column.comments")
private Boolean hideChildrenInMenu;
	/**
	 * 0:未删除 1：删除
	 */
@ApiModelProperty(value = "0:未删除 1：删除")
private Integer deleted;

	private List<HmPermCreateInput> children;

	private List<HmActionCreateInput> actions;

}
